<%@ include file="/include/head.jsp"%>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<html>
  <head>
    <title>test Desktop</title>
    <script src="<%=extjsPath%>/examples/desktop/js/StartMenu.js" type="text/javascript"></script>
    <script src="<%=extjsPath%>/examples/desktop/js/TaskBar.js" type="text/javascript"></script>
    <script src="<%=extjsPath%>/examples/desktop/js/Desktop.js" type="text/javascript"></script>
    <script src="<%=extjsPath%>/examples/desktop/js/App.js" type="text/javascript"></script>
    <script src="<%=extjsPath%>/examples/desktop/js/Module.js" type="text/javascript"></script>
    <script src="<%=extjsPath%>/examples/desktop/sample.js" type="text/javascript"></script>
    
    <link href="<%=extjsPath%>/examples/desktop/css/desktop.css" rel="stylesheet" type="text/css" />
    
    <script src="<%=extjsPath%>/expand/ext.ux.menu.storemenu.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    	Ext.onReady(function(){
    		
    		var MyGridPanel = Ext.extend(Ext.Panel, {
    			initComponent:function(){
<%--		            alert('后初始化部件启动...');--%>
		        },
			    constructor: function(config) {
					var store = function(){alert('store'+config);}
					var colModel = function(){alert('colModel'+config);}
			        config = Ext.apply({
			            store: store,
			            colModel: colModel
			        }, config);
<%--			        alert('中文');--%>
			        MyGridPanel.superclass.constructor.call(this, config);
			//      Your postprocessing here
			    },
			
			    yourMethod: function() {
			        // etc.
			    }
			});
    		
    		var a = '1';
    		
    		new MyGridPanel();
<%--    		alert(a);--%>
    	});
    </script>
  </head>
  
  <body>
  	<div id="ux-taskbar">
		<div id="ux-taskbar-start"></div>
		<div id="ux-taskbuttons-panel"></div>
<%--		<div class="x-clear"></div>--%>
	</div>
  
	<div id="x-desktop">
<%--		<iframe scrolling="no" src="http://www.w3school.com.cn" width="100%" height="100%" frameborder="0"></iframe>--%>
<%--		<div id="x-window"></div>--%>
	</div>
  </body>
</html>
